//
//  NoteCategory.m
//  TWH-Asst3
//
//  Created by rlwilli2 on 2/28/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "NoteCategory.h"


@implementation NoteCategory

@synthesize notesArray;
@synthesize categoryName;
@synthesize categoryColor;
@synthesize deleteMe;

-(id) init {
	[super init];
	
	notesArray = [[NSMutableArray alloc] initWithCapacity:24];
	categoryName = @"Blank category";
	categoryColor = 0; //[[UIColor alloc] initWithRed: 0.0f green:0.0f blue:0.0f alpha:1.0f];
	
	deleteMe = NO;
	
	return self;
	
}

-(id) initWithName: (NSString*)name withColor:(int)color {
	[super init];
	
	notesArray = [[NSMutableArray alloc] initWithCapacity:24];
	categoryName = name;
	categoryColor = color;
	
	deleteMe = NO;
	
	return self;
}

@end
